package com.e3.basdoc.goodscls.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.e3.core.base.SuperOCEntity;

@Entity
@Table(name="T_GOODS_CLASSES")
public class GoodsClsEntity extends SuperOCEntity{
	private static final long serialVersionUID = -3490577507462281438L;
	
	private String code;
	
	private String name;
	
	private Double averagePrice;
	
	private Double averageCost;
	
	private Double averageLeadtime;
	
	private String remark;
	
	private long parentId;
	
	@Column(name="CODE")
	public String getCode(){
		return this.code;
	}
	
	public void setCode(String code){
		this.code = code;
	}
	
	@Column(name="NAME")
	public String getName(){
		return this.name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	@Column(name="AVERAGE_PRICE")
	public Double getAveragePrice(){
		return this.averagePrice;
	}
	
	public void setAveragePrice(Double averagePrice){
		this.averagePrice = averagePrice;
	}
	
	@Column(name="AVERAGE_COST")
	public Double getAverageCost(){
		return this.averageCost;
	}
	
	public void setAverageCost(Double averageCost){
		this.averageCost = averageCost;
	}
	
	@Column(name="AVERAGE_LEADTIME")
	public Double getAverageLeadtime(){
		return this.averageLeadtime;
	}
	
	public void setAverageLeadtime(Double averageLeadtime){
		this.averageLeadtime = averageLeadtime;
	}
	
	@Column(name="REMARK")
	public String getRemark(){
		return this.remark;
	}
	
	public void setRemark(String remark){
		this.remark = remark;
	}

	@Column(name="PARENT_ID")
	public long getParentId() {
		return parentId;
	}

	public void setParentId(long parentId) {
		this.parentId = parentId;
	}
	
}
